﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DSS_XNA.Engine.Error;
using DSS_XNA.Engine.Util;
using DSS_XNA;
using DSS_XNA.Engine.System;

namespace DSS_XNA.Engine.Script.Commands
{
    public static class ScriptCommand_LoadMenu
    {
        #region Static Methods

        public static void Action(Dictionary<string, string> args, ScriptManager manager, Game1 engine)
        {
            string path = String.Format("menus\\{0}.mnu", Globals.DefaultMenuScriptName);

            manager.Engine.LoadMenu(path);
        }

        #endregion
    }
}
